package no.jotta.android.client.lefdal;


import android.os.Bundle;
import com.jotta.client.AbstractStartup;
import com.jotta.client.R;
import com.jotta.client.communicate.Configuration;


public class StartUp extends AbstractStartup implements Runnable {

    static {
        Configuration.INITIAL_CLIENT_PATH = "/Lefdal/";
        Configuration.PREFS_NAME = "LefdalPrefsFile";
    }


    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.start_up);

        Configuration.prepareConfiguration(this);

        // Start new thread to check & initialize parameters & show progress bar
        Thread thread = new Thread(this);
        thread.start();
    }


}
